import request from '@/utils/request'

//管理端-批量选择-开启/关闭考核实验
export function detailExamineState(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/detailExamineStateOnOff',
		method: 'get',
		params: data
	})
}
//管理端-虚拟仿真实验详情添加
export function resourceDetailInsert(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/vrResourceDetailSave',
		method: 'post',
		data
	})
}
//管理端-虚拟仿真实验详情编辑
export function resourceDetailUpdate(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/vrResourceDetailUpdate',
		method: 'post',
		data
	})
}
//管理端-删除详情
export function resourceDetailDelete(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/vrResourceDetailRemove',
		method: 'delete',
		params: data
	})
}
//管理端-获取虚拟仿真实验详情列表
export function resourceDetailPage(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/vrResourceDetailList',
		method: 'get',
		params: data
	})
}

//管理端-获取虚拟仿真实验详情
export function resourceDetailInfo(data) {
	return request({
		url: '/admin/vr/vrResourceDetail/vrResourceDetailInfo',
		method: 'get',
		params: data
	})
}